﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.controllers.world {
    import flash.geom.*;
    import net.wooga.pets.events.*;
    import net.wooga.pets.interfaces.*;
    import org.robotlegs.mvcs.*;
    import net.wooga.pets.models.world.*;

    public class RoomClickedCommand extends Command {

        public var event:InfoEvent;
        public var world:WorldModel;

        override public function execute():void{
            var _local1:IAvatar = this.world.avatar;
            _local1.moveToRoom(this.event.id, Point(this.event.info).x);
        }

    }
}//package net.wooga.pets.controllers.world 
